package ae.pcfc.cldos.online.web.model;

import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.web.multipart.MultipartFile;

import ae.pcfc.cldos.online.web.constraints.ImageFile;
import ae.pcfc.cldos.online.web.constraints.MaxFileSize;

/**
 * 
 * @author arosa
 *
 */
public class SubmitExitPaperModel {

	@MaxFileSize(message="{file.size}", maxFileSize=2 * 1024 * 1024l)
	@ImageFile(message="{file.image}")
	private MultipartFile exitPaper;

	@NotEmpty
	private String appId;
	
	public MultipartFile getExitPaper() {
		return exitPaper;
	}

	public void setExitPaper(MultipartFile exitPaper) {
		this.exitPaper = exitPaper;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

}
